/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package proyectocompimusica;
import java.util.LinkedList;
import  org.jfugue.*;


/**
 *
 * @author eddytrex
 */
public class fuge extends Thread {
    String Cancion;
    
    public static LinkedList <String>LS=new LinkedList(); 
    
    public Pattern cancion;
    public Player junkebox=new Player();
    
    public fuge(String s)
    {
        
        Cancion=s;
        cancion=new Pattern(Cancion);
        //cancion.add(Cancion);
    }
    
    public void run()
    {
        junkebox.play(cancion);
    }
}
